<?php
require_once '../controller.php';
$g = new Group($params->g);
$form = new Form('add_group_form','post');
$form->textInput('group_id','',array('class'=>'invisible','value'=>$g->id));
$form->textInput('name','Group Name',array('required'=>true,'tabindex'=>'1','value'=>$g->name));
$form->textArea('description','Group Description',3,25,array('tabindex'=>'2','value'=>$g->description));
$form->textInput('code_name','Google Code URL',array('required'=>true,'tabindex'=>'3','value'=>$g->code_name));
$form->textInput('groups_name','Google Groups URL',array('required'=>true,'tabindex'=>'4','value'=>$g->groups_name));
$form->button('modify_group_submit','Modify Group',array('tabindex'=>'5'),false);
$form->button('modify_group_cancel','Cancel',array('type'=>'button','onclick'=>'closePopup()','tabindex'=>'6'),false);
die($form->build());